/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yaps.petstore.dao;

import com.yaps.petstore.dto.CartItem;
import com.yaps.petstore.entity.catalog.Item;
import com.yaps.petstore.entity.catalog.Product;
import com.yaps.petstore.entity.customer.Address;
import com.yaps.petstore.entity.customer.Customer;
import com.yaps.petstore.entity.order.CreditCard;
import com.yaps.petstore.entity.order.Order;
import java.util.List;

/**
 *
 * @author pfa
 */
public interface OrderDAO {

    Order findOrder(Long orderId) ;

    void deleteOrder(Order order) ;

    List<Order> findOrders();
    
    Order createOrder(Order order);
    
}
